package com.zhny.iot.okq.soil.plugin;

import com.zhny.aiot.plugin.Field;
import com.zhny.aiot.plugin.web.WebConfig;
import lombok.Data;

@Data
public class OKQConfig extends WebConfig {

    @Field(
            alias = "用户名"
    )
    private String username;

    @Field(
            alias = "密码"
    )
    private String password;
    @Field(
            alias = "设备编码"
    )
    private String sn;
    @Override
    public String toKey() {
        return sn;
    }
}
